home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Agent Central Host Computer
/
Agent - Central Host Computer.iso
/
_SETUP.1
/
vbpmoney.sql
< prev
next >
Wrap
Text File
|
2000-05-12
|
463b
|
13 lines
/*
collects the Currency accepted and total cash ( cscurcnt) for a given probe, and cashbox.
Outer join is needed because there is sometimes NO cash accepted since the previous probe.
*/
create or replace view vbpmoney as
select vsumcscurcnt.conversion_num,
vsumcscurcnt.close_count,
vsumcscurcnt.cashbox_glid,
vsumcscurcnt.totalcash,
vsumcuracc.probedcash
from vsumcscurcnt, vsumcuracc
where vsumcscurcnt.close_count = vsumcuracc.close_count (+);